package com.example.demo.service.impl;

import com.example.demo.common.domain.Hotel;
import com.example.demo.common.domain.HotelExample;
import com.example.demo.mapper.HotelMapper;
import com.example.demo.service.HotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HotelServiceImpl implements HotelService {
    @Autowired
    private HotelMapper hotelMapper;
    @Autowired
    HotelExample hotelExample;

    @Override
    public Hotel hotelinfo(String hotelId) {
        return hotelMapper.selectByPrimaryKey(hotelId);
    }
}
